package com.zhongke.home.ui.activity

import android.graphics.Color
import android.os.Bundle
import com.google.android.material.progressindicator.CircularProgressIndicator
import com.zhongke.common.base.activity.ZKBaseTitleActivity
import com.zhongke.common.base.viewmodel.ZKDoNothingViewModel
import com.zhongke.common.widget.TitleView
import com.zhongke.home.BR
import com.zhongke.home.R
import com.zhongke.home.databinding.ActivityTestTitleBinding

class ZKTestTitleActivity : ZKBaseTitleActivity<ActivityTestTitleBinding, ZKDoNothingViewModel>() {

    override fun initContentView(savedInstanceState: Bundle?) = R.layout.activity_test_title

    override fun initVariableId() = BR.viewModel

    override fun customTitleView(titleView: TitleView) {
        titleView.setTitle("测试标题")
    }

    override fun initData() {
        binding.indicator.setIndicatorColor(getColor(R.color.colorPrimary), Color.LTGRAY)
    }
}